﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    CodeFile="Ngayle.aspx.cs" Inherits="Admin_Ngayle" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="themNgayLe">
        <asp:Label ID="Label1" runat="server" Text="Ngày Lễ"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" Width="100px"></asp:TextBox>
        <br />
        <asp:Label ID="Label2" runat="server" Text="Tên Ngày Lễ"></asp:Label>
        <asp:TextBox ID="TextBox2" runat="server" Width="100px"></asp:TextBox>
        <br />
        <asp:Button ID="Button1" runat="server" Text="Thêm Ngày Lễ" OnClick="ThemNgayLe_Click" />
        <br />
        <asp:Label ID="Label3" runat="server"></asp:Label>
        <asp:Label ID="Label4" runat="server"></asp:Label>
    </div>
    <div id="thongtin_NgayLe">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" CellPadding="4"
            OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCancelingEdit="GridView1_RowCancelingEdit"
            OnRowEditing="GridView1_RowEditing">
            <RowStyle BackColor="White" ForeColor="#003399" />
            <Columns>
            <asp:BoundField DataField="NgayLe" HeaderText="Ngày Lễ" ReadOnly="true">
            <ItemStyle HorizontalAlign="Center" Width="40px" />
            </asp:BoundField>
            <asp:BoundField DataField="TenNgayLe" HeaderText="Tên Ngày Lễ" >
            <ItemStyle HorizontalAlign="Center" Width="40px" />
            </asp:BoundField>
            </Columns>
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
        </asp:GridView>
    </div>
</asp:Content>
